<template>
	<div class="loginWrap">
        <el-button type="primary" @click="toIndex">Primary</el-button>
	</div>
</template>
<script type="text/javascript">
	
	export default{
		data () {
			return {
				//index:0
			}
		},
		mounted (){
			console.log(this.$store.getters.index);
        },
        watch:{
            
        },
		components : {
			
		},
		methods : {
			toIndex(){
				this.$router.push({name:"appIndex"});
			}
		}
	}
</script>
<style type="text/css" lang="less" scoped>
	.loginWrap{
		.pagetitle{
			color:red;
		}
	}
</style>